package org.uugu.iws.service.demo.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.uugu.iws.service.demo.DemoService;
import org.uugu.iws.service.demo.entity.Demo;
import org.uugu.iws.service.demo.mapper.DemoMapper;

import javax.jws.WebService;

/**
 * Created by Silence on 14/10/30.
 */
@WebService(endpointInterface = "org.uugu.iws.service.demo.DemoService")
public class DemoServiceImpl implements DemoService {

    @Autowired
    private DemoMapper demoMapper;

    @Override
    public String sayHello(String message) {

        Demo demo = demoMapper.getDemo(1L);

        return demo.getAaa();
    }
}
